package com.dg.river.contant;

/**
 * @author jrj
 * @description 相关的常量值，广播、EventBus、Activity跳转等
 */
public class CommonCode {
    /**
     * EventBus事件相关
     */
    public static class EventBus {
        // 添加船舶
        public static final String ADD_SHIP = "30000";

        // 修改昵称
        public static final String MODIFY_NICK = "31000";

        // 传递个推id
        public static final String SEND_GT_ID = "31001";

        // 修改手机号
        public static final String MODIFY_PHONE = "31002";

        // 传递所选货物类型
        public static final String REMOTE_REPORT_WARE_TYPE = "31003";

        // 传递所选起点
        public static final String REMOTE_REPORT_START_POSITION = "31004";

        // 传递所选讫点
        public static final String REMOTE_REPORT_END_POSITION = "31005";

        // 刷新首页未读数
        public static final String REFRESH_MAIN_UNREAD_COUNT = "32000";

        // 刷新消息首页列表
        public static final String REFRESH_MESSAGE_MAIN_LIST = "32001";

        // 刷新我的用户信息
        public static final String REFRESH_USER_INFO = "32002";

        // 刷新首页快捷消息
        public static final String REFRESH_MAIN_QUICK_MESSAGE = "32003";

        // 刷新补费订单列表
        public static final String REFRESH_SUPPLEMENTARY_ORDER_LIST = "32004";

        // 刷新报港相关页面
        public static final String REFRESH_REPORT_REMOTE_INFO = "32005";

        // 刷新订单列表
        public static final String REFRESH_ORDER_LIST = "32006";

        // 微信支付成功
        public static final String WECHAT_PAY_SUCCESS = "32007";

        // 微信支付失败
        public static final String WECHAT_PAY_FAILURE = "32008";

        // 刷新抬头列表
        public static final String REFRESH_INVOICE_HEADER_LIST = "32009";

        // 刷新待开发票列表和开票历史列表
        public static final String REFRESH_INVOICE_LIST = "32010";
    }

    /**
     * 权限相关
     */
    public static class Permission {

    }

    /**
     * ActivityForResult相关
     */
    public static class ActivityResult {

    }

    /**
     * 接口请求返回相关
     */
    public static class HttpResponse {
        // 成功返回码
        public static final String RESULT_SUCCESS = "P00000";
        // 失败返回码
        public static final String RESULT_ERROR_10001 = "P10001";
    }
}
